﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace Lifang.API.Controllers
{
    [Produces("application/json")]
    [Route("api/DbMetaHelper")]
    public class DbMetaHelperController : BaseController
    {
        //public ActionResult GetTableInfo(string tableName = "Category")
        //{
        //    var list = new DbMetaHelper().GetTableInfo(tableName);
        //    return Json(list, JsonRequestBehavior.AllowGet);
        //}

        //public ActionResult GetSchemaTableList()
        //{
        //    var list = new DbMetaHelper().GetSchemaTableList(new List<string>() { "Category" });
        //    return Json(list, JsonRequestBehavior.AllowGet);
        //}
    }
}